#ifndef __ADVANCEDETECTAPI_H__
#define __ADVENCEDETECTAPI_H__

#include "OpenDPI_demo.h"
#include "memop_action.h"

extern struct osdpi_id* memop_osdpi_ids_create(u32 idNum);
extern struct osdpi_flow* memop_osdpi_flows_create(u32 flowNum);
extern void* memop_get_id(const struct osdpi_ip_addr *ip);
extern struct osdpi_flow* memop_get_osdpi_flow(const struct iphdr *iph,u16 ipsize);
extern u32 memop_osdpi_ids_free(struct osdpi_id* osdpi_ids,u32 idNum);
extern u32 memop_osdpi_flows_free(struct osdpi_flow* osdpi_flows,u32 flowNum);
extern u32 memop_action_start(void *data);

#endif
